export const projects = [
  {
    id: 1,
    title: '企业ERP系统',
    type: '公司',
    category: 'Java',
    cover: '/images/erp-cover.jpg',
    techStack: ['Java'],
    description: '基于Spring Cloud的分布式企业资源管理系统',
    versionHistory: [
      {
        version: '1.3.0',
        date: '2024-02-20',
        type: 'feature',
        highlights: [
          '新增AI需求分析模块',
          '支持多项目管理看板',
          '优化任务依赖关系可视化'
        ],
        status: 'stable'
      },
      {
        version: '1.2.1',
        date: '2024-01-15',
        type: 'patch',
        highlights: [
          '修复甘特图时间轴渲染问题',
          '优化移动端适配性能'
        ],
        status: 'stable'
      },
      {
        version: '1.2.0',
        date: '2023-12-05',
        type: 'feature',
        highlights: [
          '新增资源负载统计功能',
          '集成团队协作聊天模块'
        ],
        status: 'stable'
      },
      {
        version: '1.1.0-rc.2',
        date: '2023-11-20',
        type: 'pre-release',
        highlights: [
          '测试版权限管理系统',
          '初步实现CI/CD流水线集成'
        ],
        status: 'beta'
      }
    ]
  },
  {
    id: 2,
    title: '智能家居App',
    type: '个人',
    category: 'Android',
    cover: '/images/smarthome-cover.jpg',
    techStack: ['Android', 'Kotlin'],
    description: '物联网家居控制移动应用',
    versionHistory: [
      {
        version: '1.3.0',
        date: '2024-02-20',
        type: 'feature',
        highlights: [
          '新增AI需求分析模块',
          '支持多项目管理看板',
          '优化任务依赖关系可视化'
        ],
        status: 'stable'
      },
      {
        version: '1.2.1',
        date: '2024-01-15',
        type: 'patch',
        highlights: [
          '修复甘特图时间轴渲染问题',
          '优化移动端适配性能'
        ],
        status: 'stable'
      },
      {
        version: '1.2.0',
        date: '2023-12-05',
        type: 'feature',
        highlights: [
          '新增资源负载统计功能',
          '集成团队协作聊天模块'
        ],
        status: 'stable'
      },
      {
        version: '1.1.0-rc.2',
        date: '2023-11-20',
        type: 'pre-release',
        highlights: [
          '测试版权限管理系统',
          '初步实现CI/CD流水线集成'
        ],
        status: 'beta'
      }
    ]
  },
  {
    id: 3,
    title: '移动支付SDK',
    type: '公司',
    category: 'Android',
    cover: '/images/pay-cover.jpg',
    techStack: ['Java'],
    description: '银行级安全移动支付解决方案',
    versionHistory: [
      {
        version: '1.3.0',
        date: '2024-02-20',
        type: 'feature',
        highlights: [
          '新增AI需求分析模块',
          '支持多项目管理看板',
          '优化任务依赖关系可视化'
        ],
        status: 'stable'
      },
      {
        version: '1.2.1',
        date: '2024-01-15',
        type: 'patch',
        highlights: [
          '修复甘特图时间轴渲染问题',
          '优化移动端适配性能'
        ],
        status: 'stable'
      },
      {
        version: '1.2.0',
        date: '2023-12-05',
        type: 'feature',
        highlights: [
          '新增资源负载统计功能',
          '集成团队协作聊天模块'
        ],
        status: 'stable'
      },
      {
        version: '1.1.0-rc.2',
        date: '2023-11-20',
        type: 'pre-release',
        highlights: [
          '测试版权限管理系统',
          '初步实现CI/CD流水线集成'
        ],
        status: 'beta'
      }
    ]
  },
  {
    id: 4,
    title: '微服务架构',
    type: '个人',
    category: 'Java',
    cover: '/images/microservice-cover.jpg',
    techStack: ['Java'],
    description: '基于Spring Cloud Alibaba的微服务实践',
    versionHistory: [
      {
        version: '1.3.0',
        date: '2024-02-20',
        type: 'feature',
        highlights: [
          '新增AI需求分析模块',
          '支持多项目管理看板',
          '优化任务依赖关系可视化'
        ],
        status: 'stable'
      },
      {
        version: '1.2.1',
        date: '2024-01-15',
        type: 'patch',
        highlights: [
          '修复甘特图时间轴渲染问题',
          '优化移动端适配性能'
        ],
        status: 'stable'
      },
      {
        version: '1.2.0',
        date: '2023-12-05',
        type: 'feature',
        highlights: [
          '新增资源负载统计功能',
          '集成团队协作聊天模块'
        ],
        status: 'stable'
      },
      {
        version: '1.1.0-rc.2',
        date: '2023-11-20',
        type: 'pre-release',
        highlights: [
          '测试版权限管理系统',
          '初步实现CI/CD流水线集成'
        ],
        status: 'beta'
      }
    ]
  },
  {
    id: 5,
    name: "电商平台项目",
    title: '微服务架构',
    type: '个人',
    category: 'Java',
    cover: '/images/microservice-cover.jpg',
    techStack: ['Java'],
    description: '基于Spring Cloud Alibaba的微服务实践',
    versions: [
      {
        number: 1,
        date: '2024-03-15',
        changes: [
          '新增支付网关集成',
          '优化商品搜索性能',
          '修复购物车数量同步问题'
        ]
      },
      {
        number: 2,
        date: '2024-02-28',
        changes: [
          '实现用户评价系统',
          '增加促销活动模块',
          '改进移动端适配'
        ]
      }
    ],
    versionHistory: [
      {
        version: '1.3.0',
        date: '2024-02-20',
        type: 'feature',
        highlights: [
          '新增AI需求分析模块',
          '支持多项目管理看板',
          '优化任务依赖关系可视化'
        ],
        status: 'stable'
      },
      {
        version: '1.2.1',
        date: '2024-01-15',
        type: 'patch',
        highlights: [
          '修复甘特图时间轴渲染问题',
          '优化移动端适配性能'
        ],
        status: 'stable'
      },
      {
        version: '1.2.0',
        date: '2023-12-05',
        type: 'feature',
        highlights: [
          '新增资源负载统计功能',
          '集成团队协作聊天模块'
        ],
        status: 'stable'
      },
      {
        version: '1.1.0-rc.2',
        date: '2023-11-20',
        type: 'pre-release',
        highlights: [
          '测试版权限管理系统',
          '初步实现CI/CD流水线集成'
        ],
        status: 'beta'
      }
    ]
  }
];

export const demoProject = {
  id: 1,
  name: 'AI项目管理平台',
  status: '开发中',
  // 添加项目文档数据
  documents: [
    {
      id: 1,
      name: '项目需求文档v1.2.pdf',
      type: 'pdf',
      uploader: '张三',
      uploadTime: '2025-04-15 14:30',
      size: '2.5MB',
      url: '/documents/requirements.pdf'
    },
    {
      id: 2,
      name: '技术方案设计文档.doc',
      type: 'doc',
      uploader: '李四',
      uploadTime: '2025-04-20 09:15',
      size: '1.8MB',
      url: '/documents/tech-design.doc'
    },
    {
      id: 3,
      name: '项目进度计划表.xls',
      type: 'xls',
      uploader: '王五',
      uploadTime: '2025-05-01 16:45',
      size: '0.9MB',
      url: '/documents/schedule.xls'
    },
    {
      id: 4,
      name: '系统架构图.pdf',
      type: 'pdf',
      uploader: '张三',
      uploadTime: '2025-05-10 11:20',
      size: '3.2MB',
      url: '/documents/architecture.pdf'
    },
    {
      id: 5,
      name: '测试用例文档.doc',
      type: 'doc',
      uploader: '李四',
      uploadTime: '2025-05-12 15:30',
      size: '1.5MB',
      url: '/documents/test-cases.doc'
    }
  ],
  releaseHistory: [
    {
      version: '1.2.0',
      date: '2024-03-15',
      manager: '张伟',
      updates: [
        '新增任务看板功能',
        '优化项目详情页性能',
        '修复权限校验BUG'
      ]
    }
  ],
  versions: [
    {
      number: 1,
      date: '2025-01-01',
      changes: [
        {
          
        }
      ]
    }
  ],
  tasks: [
    {
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 75,
      deadline: '2024-03-30',
      status: '进行中'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    },{
      id: 101,
      name: '项目详情页开发',
      pm: '李晓红',
      progress: 100,
      deadline: '2024-03-30',
      status: '已上线'
    }
  ],
  techStack: {
    platforms: ['微信开放平台', '阿里云OSS'],
    sdks: ['微信支付SDK', '高德地图SDK'],
    frameworks: ['React 18', 'MobX 6', 'Ant Design 5']
  },
  config: {
    gradle: '7.5',
    java: '11',
    kotlin: '1.8',
    buildTools: '34.0.0',
    minSdk: 21,
    targetSdk: 34
  }
};
